package br.com.skytef.dao;

import java.sql.Connection;

import javax.servlet.http.HttpSession;

import br.com.skytef.jdbc.ConnectionFactory;
import br.com.skytef.utils.utils;

public class DaoTarifaItens {
	private static String erro;
	public Connection connection;

	public DaoTarifaItens() {
		this.connection = new ConnectionFactory().getConnection();
	}

	public DaoTarifaItens(HttpSession session) {
		this.connection = utils.recuperaDBConnection(session);
	}

	public DaoTarifaItens(Connection con) {
		this.connection = con;
	}

	public Connection getConnection() {
		return connection;
	}

	public static String getErro() {
		return erro;
	}
	
	
	
	
	
	
	
	
	

}
